package com.qf.dao;

import com.qf.domain.Cart;

import java.util.List;

/**
 * @author Administrator
 * @version v1.0
 * @date 2022/4/20
 */
public interface CartDao {
    Cart findByUidANdGid(int uid, int pid);

    void insert(Cart cart);

    void updatecart(Cart cart);

    List<Cart> findByid(int uid);

    void deleteCart(int id, int pid);

    void clearCart(int id);

    long findCountByUid(int id);
}
